# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-validators
pkgver=0.16.0
pkgrel=0
pkgdesc="Python3 Data Validation for Humans"
url="https://github.com/kvesteri/validators"
arch="all"
license="MIT"
depends="python3 py3-six py3-decorator"
makedepends="py3-setuptools"
checkdepends="py3-isort py3-pytest py3-flake8"
source="https://files.pythonhosted.org/packages/source/v/validators/validators-$pkgver.tar.gz"
builddir="$srcdir/validators-$pkgver"

build() {
	python3 setup.py build
}

check() {
	py.test-3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="06b82bbe91abad7524e400872b396e5bf51e6edbc8373d7de773bbde6e8d4646b215adacf45b0aa17881070e6490e67d7832971f820d365dabbec9d1f7b6068c  validators-0.16.0.tar.gz"
